public MasterPositioningPhase(PhaseManager phaseManager, NetworkUIController networkUiController, CloudAnchorsExampleController cloudAnchorsController, MasterInstantiatingPhase instantiatingPhase, bool skipAR) : base( phaseManager) { _networkUiController = networkUiController; _cloudAnchorsController = cloudAnchorsController; _instantiatingPhase = instantiatingPhase; _skipAR = skipAR; }
public NonMasterPositioningPhase(PhaseManager phaseManager, NetworkUIController networkUiController, CloudAnchorsExampleController cloudAnchorsController, NonMasterInstantiatingPhase instantiatingPhase) : base(phaseManager) { _networkUiController = networkUiController; _cloudAnchorsController = cloudAnchorsController; _instantiatingPhase = instantiatingPhase; _phaseManager = phaseManager; }
public MasterInstantiatingPhase(PhaseManager phaseManager, NetworkUIController networkUiController, CloudAnchorsExampleController cloudAnchors, ObstacleGenerator obstacleGenerator, CombatPhase combatPhase, bool skipGameArea) : base(phaseManager) { _networkUiController = networkUiController; _cloudAnchors = cloudAnchors; _obstacleGenerator = obstacleGenerator; _combatPhase = combatPhase; _obstacleGenerator.OnFinishPlacingObstacles += FinishPlacingObstacles; _skipGameArea = skipGameArea; }
/// <summary> /// The Unity Start() method. /// </summary> public void Start() { m_CloudAnchorsExampleController = GameObject.Find("CloudAnchorsExampleController") .GetComponent <CloudAnchorsExampleController>(); }