Ejemplo n.º 1
0
 public CResourceFactory()
 {
     factory                   = new ZRender.IResourceFactory();
     factory.linger_time       = 20F;
     SceneManager.sceneLoaded += OnLevelWasLoaded;
 }
Ejemplo n.º 2
0
 public IEmptyResource(IResourceFactory factory)
     : base("empty", factory)
 {
 }
Ejemplo n.º 3
0
 public IRenderResource(string name, IResourceFactory factory)
 {
     this.name    = name.ToLower();
     this.factory = factory;
 }
Ejemplo n.º 4
0
 public void SetFactory(IResourceFactory factory)
 {
     this.factory     = factory;
     dump_time        = Time.realtimeSinceStartup + INTERVAL;
     editor_dump_time = Time.realtimeSinceStartup + EditorINTERVAL;
 }