コード例 #1
0
 // Use this for initialization
 void Start()
 {
     main = this;
     transform.SetParent(GameObject.FindGameObjectWithTag("PlayerCreatorCanvas").transform);
     transform.localScale    = Vector3.one;
     transform.localPosition = Vector3.zero;
     reset();
 }
コード例 #2
0
ファイル: Level.cs プロジェクト: HoneyTribe/Labirynth
				public Level (MachineCreator machineCreator, int numberOfKeys, List<MonsterTemplate> monsters, int timeToFirstMonster,
		              int timeBetweenMonsters, int mazeSizeX, int mazeSizeZ, string ending, string puzzleName)
				{
					this.machineCreator = machineCreator;
					this.numberOfKeys = numberOfKeys;
					this.monsters = monsters;
					this.timeToFirstMonster = timeToFirstMonster;
					this.timeBetweenMonsters = timeBetweenMonsters;
					this.mazeSizeX = mazeSizeX;
					this.mazeSizeZ = mazeSizeZ;
					this.ending = ending;
					this.puzzleName = puzzleName;
				}