Свойство | Тип | Описание | |
---|---|---|---|
AtMainMenu | bool | ||
EnableTextureAnimation | bool | ||
InventoryMarker | GameObject | ||
LevelNo | int | ||
LevelObjects | GameObject[] | ||
StartPos | Vector3 | ||
Tilemap | TileMap, | ||
WorldModel | GameObject[] | ||
commobj | CommonObjProps, | ||
critter | Critters, | ||
game | string | ||
greyScale | Shader | ||
instance | GameWorldController, | ||
mus | MusicController, | ||
objectMaster | ObjectMasters, | ||
paletteArray | UnityEngine.Texture2D[] | ||
paletteIndex | int | ||
paletteIndexReverse | int | ||
variables | int[] | ||
vortex | Shader | ||
weaponprops | WeaponProps, |
Метод | Описание | |
---|---|---|
FindTile ( int x, int y, int surface ) : GameObject |
Finds the tile or wall at the specified coordinates.
|
|
FindTileByName ( string tileName ) : GameObject |
Finds a tile in the current level by name
|
|
FreezeMovement ( GameObject myObj ) : void |
Freezes the movement of the specified object if it has a rigid body attached.
|
|
GetTileName ( int x, int y, int surface ) : string |
Gets the gameobject name for the specified tile x,y and surface. Eg Wall_02_03, Tile_22_23
|
|
LevelMarker ( ) : Transform |
Returns the transform of the levels object marker. So objects will remain on that level
|
|
SwitchLevel ( int newLevelNo ) : void |
Switches the level to another one. Disables the map and level objects of the old one.
|
|
UnFreezeMovement ( GameObject myObj ) : void |
Unfreeze the movement of the specified object if it has a rigid body attached.
|
|
findDoor ( int x, int y ) : GameObject |
inds a door in the tile pointed to by the two coordinates.
|
|
getCurrentLevelModel ( ) : GameObject |
Gets the current level model.
|
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
Start ( ) : void | ||
UpdateAnimation ( ) : void |
Updates the global shader parameter for the colorpalette shaders at set intervals. To enable texture animation
|
public static FindTile ( int x, int y, int surface ) : GameObject | ||
x | int | The x coordinate. |
y | int | The y coordinate. |
surface | int | Surface. |
Результат | GameObject |
public static FindTileByName ( string tileName ) : GameObject | ||
tileName | string | Tile name. |
Результат | GameObject |
public static FreezeMovement ( GameObject myObj ) : void | ||
myObj | GameObject | My object. |
Результат | void |
public static GetTileName ( int x, int y, int surface ) : string | ||
x | int | The x coordinate. |
y | int | The y coordinate. |
surface | int | Surface. |
Результат | string |
public SwitchLevel ( int newLevelNo ) : void | ||
newLevelNo | int | New level no. |
Результат | void |
public static UnFreezeMovement ( GameObject myObj ) : void | ||
myObj | GameObject | My object. |
Результат | void |
public static findDoor ( int x, int y ) : GameObject | ||
x | int | The x coordinate. |
y | int | The y coordinate. |
Результат | GameObject |
public getCurrentLevelModel ( ) : GameObject | ||
Результат | GameObject |
public static GameWorldController, instance | ||
Результат | GameWorldController, |
public Texture2D[],UnityEngine paletteArray | ||
Результат | UnityEngine.Texture2D[] |