C# Class HullSpawner, BattleShipV2

Inheritance: MonoBehaviour
Show file Open project: GameMakersUnion/BattleShipV2

Public Properties

Property Type Description
grid GameObject
hullPrefab GameObject

Public Methods

Method Description
Update ( ) : void

Private Methods

Method Description
ConnectedToMain ( Vector3 worldClick, HashSet visited ) : bool
EditHull ( ) : void
GetBlock ( Vector3 worldPos ) : Collider2D
HasAdjecent ( Vector3 worldPos ) : bool
IsEssential ( Collider2D col ) : bool

Method Details

Update() public method

public Update ( ) : void
return void

Property Details

grid public property

public GameObject grid
return GameObject

hullPrefab public property

public GameObject hullPrefab
return GameObject