void Awake() { viroidManager = new ViroidManager (this); worldManager = (WorldManager)FindObjectOfType (typeof(WorldManager)); prism = new Prism (0, 0, 0, 0, 0, 0); redTimer = 0; lastDistanceTravelled = 0; driftFuel = 0; voxelCount = 0; isInitialized = false; isColliding = false; isDrifting = false; blobActions = new ArrayList (); }
public void setContagiousList(ArrayList newContagiousList) { viroidManager = new ViroidManager (this); viroidManager.contagiousList = newContagiousList; }