C# Class UnityPlanet, casanova-mk2

Inheritance: MonoBehaviour
ファイルを表示 Open project: vs-team/casanova-mk2 Class Usage Examples

Public Properties

Property Type Description
CommanderIndex int
DP DisplayDepth,
IsFrontier bool
IsStartingPlanet bool
LP Vector2
OwnershipNumber int
Ships int
Type PlanetType,
deltaX float
deltaZ float
initial_owner GameObject
maxX int
maxZ int
minX int
minZ int
rightSelected bool

Public Methods

Method Description
Find ( string path ) : UnityPlanet,
FindAll ( ) : List
FindAllPlanets ( ) : List
FindAllPlanets ( int x ) : List
FindAllTextObjects ( ) : List
Instantiate ( Vector3 pos ) : UnityPlanet,
Instantiate ( Vector3 pos, float mass ) : UnityPlanet,
Print ( string message ) : void
Revolute ( UnityPlanet, planet, Vector3 origin, float angle ) : void
Start ( ) : void
normalize ( ) : Vector2

Private Methods

Method Description
Update ( ) : void

Method Details

Find() public static method

public static Find ( string path ) : UnityPlanet,
path string
return UnityPlanet,

FindAll() public static method

public static FindAll ( ) : List
return List

FindAllPlanets() public static method

public static FindAllPlanets ( ) : List
return List

FindAllPlanets() public static method

public static FindAllPlanets ( int x ) : List
x int
return List

FindAllTextObjects() public static method

public static FindAllTextObjects ( ) : List
return List

Instantiate() public static method

public static Instantiate ( Vector3 pos ) : UnityPlanet,
pos Vector3
return UnityPlanet,

Instantiate() public static method

public static Instantiate ( Vector3 pos, float mass ) : UnityPlanet,
pos Vector3
mass float
return UnityPlanet,

Print() public static method

public static Print ( string message ) : void
message string
return void

Revolute() public static method

public static Revolute ( UnityPlanet, planet, Vector3 origin, float angle ) : void
planet UnityPlanet,
origin Vector3
angle float
return void

Start() public method

public Start ( ) : void
return void

normalize() public method

public normalize ( ) : Vector2
return Vector2

Property Details

CommanderIndex public_oe property

public int CommanderIndex
return int

DP public_oe property

public DisplayDepth, DP
return DisplayDepth,

IsFrontier public_oe property

public bool IsFrontier
return bool

IsStartingPlanet public_oe property

public bool IsStartingPlanet
return bool

LP public_oe property

public Vector2 LP
return Vector2

OwnershipNumber public_oe property

public int OwnershipNumber
return int

Ships public_oe property

public int Ships
return int

Type public_oe property

public PlanetType, Type
return PlanetType,

deltaX public_oe property

public float deltaX
return float

deltaZ public_oe property

public float deltaZ
return float

initial_owner public_oe property

public GameObject initial_owner
return GameObject

maxX public_oe property

public int maxX
return int

maxZ public_oe property

public int maxZ
return int

minX public_oe property

public int minX
return int

minZ public_oe property

public int minZ
return int

rightSelected public_oe property

public bool rightSelected
return bool