Search found 36 matches

by outofspace
Fri Apr 21, 2023 12:48 pm
Forum: General Discussion
Topic: Saving Runtime scene and assets
Replies: 1
Views: 1273

Saving Runtime scene and assets

I have a kind of runtime level design app wherein the user can add assets (objects, animations, sound, etc.)
Is it possible to use easy save to save the level design and all of the assets to a server and which can later be loaded into the game at runtime?

Cheers
by outofspace
Sun Sep 25, 2022 3:15 pm
Forum: General Discussion
Topic: How to serialize unity's timeline.
Replies: 1
Views: 605

How to serialize unity's timeline.

Hi, I am using a 3rd party asset that enables the easy adding of events to unity's timeline. Timeline Ez Events (TEz) https://assetstore.unity.com/packages/tools/integration/timeline-ez-events-126484#reviews and would like to be able to: 1. Serialize the timeline TEz from the editor 2. import the se...
by outofspace
Fri Sep 29, 2017 3:45 pm
Forum: General Discussion
Topic: Building for WebGL
Replies: 1
Views: 4868

Building for WebGL

Hi, I'm trying to build a project with ES3 on a mac, unity2017.1.0 p4 Target: WebGL and getting the build error below. Do you know what I am doing wrong. Cheers stdout: Fatal error in Unity CIL Linker System.ArgumentException: Unable to find the file for the assembly named 'ES3, Version=0.0.0.0, Cul...
by outofspace
Tue Sep 26, 2017 4:41 am
Forum: General Discussion
Topic: Best practices for multiplatform
Replies: 1
Views: 3865

Best practices for multiplatform

Thanks for the Amazing asset.

I am publishing my app to multiple platforms (IOS,Android, Windows Phone, Windows Store Apps, Win,Mac,Linux standalones, WegGL).
Does the file the ES3 save to work on all platforms?
by outofspace
Thu Sep 14, 2017 8:40 am
Forum: General Discussion
Topic: Custom type?
Replies: 10
Views: 12954

Re: Custom type?

Oh yes, got it.
by outofspace
Thu Sep 14, 2017 8:34 am
Forum: General Discussion
Topic: Custom type?
Replies: 10
Views: 12954

Re: Custom type?

I did this:

public class TreeNodeSerializedWrapper : TreeNodeSerialized<TNT_PlaylistLine>
{
public void TreeNodeSerializedWrapper() { }
}

and got this error:
TreeNodeSerializedWrapper.TreeNodeSerializedWrapper()': member names cannot be the same as their enclosing type
by outofspace
Thu Sep 14, 2017 8:26 am
Forum: General Discussion
Topic: Custom type?
Replies: 10
Views: 12954

Re: Custom type?

1. Create a non-generic sub-class of TreeNodeSerialized<TNT_PlaylistLine>. This will simply look like this:
public TreeNodeSerializedWrapper : TreeNodeSerialized<TNT_PlaylistLine>
{
public TreeNodeSerializedWrapper(){}
}

Would you create a new unity .cs file with only this class?
by outofspace
Thu Sep 14, 2017 7:12 am
Forum: General Discussion
Topic: Custom type?
Replies: 10
Views: 12954

Re: Custom type?

He has an example of using BinaryFormatter: /// <summary> /// The filename. /// </summary> [SerializeField] protected string Filename = "TNTPlaylist.binary"; /// <summary> /// Test saving with binary serialization. /// </summary> public void TestSave() { var raw_data = TreeNode<TNT_Playlis...
by outofspace
Thu Sep 14, 2017 7:06 am
Forum: General Discussion
Topic: Custom type?
Replies: 10
Views: 12954

Re: Custom type?

I found the code that does the serializing: /// <summary> /// Serialize the specified nodes. /// </summary> /// <param name="nodes">Nodes.</param> public static List<TreeNodeSerialized<TItem>> Serialize(ObservableList<TreeNode<TItem>> nodes) { if (nodes==null) { return null; } var serializ...
by outofspace
Thu Sep 14, 2017 2:55 am
Forum: General Discussion
Topic: Custom type?
Replies: 10
Views: 12954

Re: Custom type?

Here is the code for the TreeNodeSerialized. /// <summary> /// Serialized TreeNode. /// </summary> [Serializable] public class TreeNodeSerialized<TItem> { /// <summary> /// The pause observation. /// </summary> [SerializeField] public bool c; /// <summary> /// Is node visible? /// </summary> [Serial...