Beispiel #1
0
    public void BuildRealPlatoon()
    {
        _realPlatoon = GameObject.Instantiate(Resources.Load <GameObject>("Platoon"));

        _platoonBehaviour = _realPlatoon.GetComponent <PlatoonBehaviour>();
        _platoonBehaviour.Initialize(_unitType, _owner, _units.Count);

        _platoonBehaviour.SetGhostPlatoon(this);
    }