Ejemplo n.º 1
0
        private void Awake()
        {
            var systemRegistry = RegistryRegistry.GetObjectRegistry <LSystemObject>();

            systemRegistry.AssignAllIDs();
            instance = this;
            allResourceReservations = new List <LSystemGlobalResourceHandle>();
        }
Ejemplo n.º 2
0
 public void Apply(GlobalLSystemCoordinator target)
 {
     target.allResourceReservations = this.resourceReservations;
     Debug.Log("global l system coordinator deserialized");
 }
Ejemplo n.º 3
0
 public GlobalLSystemState(GlobalLSystemCoordinator source)
 {
     this.resourceReservations = source.allResourceReservations;
 }