public override void Start() { ship = GameObject.Find("Player").GetComponent<ShipManager>(); poigui = Camera.mainCamera.GetComponent<POILandGUI>(); activatedState = 0; inventory = ship.GetComponentInChildren<InventoryManager>(); diplomacyDifficulty = 5.0f; talk = transform.GetComponent<RPTalk_BeltOfAsteroids3>(); attack = transform.GetComponent<RPAttack_BeltOfAsteroids3>(); isNull = true; }
public override void Start() { ship = GameObject.Find("Player").GetComponent<ShipManager>(); poigui = Camera.mainCamera.GetComponent<POITalkGUI>(); land = transform.GetComponent<RPLand_BeltOfAsteroids3>(); attack = transform.GetComponent<RPAttack_BeltOfAsteroids3>(); isNull = true; inventory = GameObject.Find("Player").GetComponentInChildren<InventoryManager>(); crew = transform.GetComponent<RPCrew_BeltOfAsteroids3>(); rewardMoney = 20000; }