TimedAction.Awake C# (CSharp) Méthode

Awake() public méthode

public Awake ( ) : void
Résultat void
    void Awake()
    {
        if (ProducedItems_ != null) //TODO ?
        {
            for (byte i = 0; i < ProducedItems_.Length; ++i)
                for (byte j = 0; j < ProducedItems_.Length; ++j)
                    if (ProducedItems_[i].ItemID == ProducedItems_[j].ItemID && i != j)
                        throw new System.Exception("Duplicatated IDs in ProducedItems_.");
        }
        else
            ProducedItems_ = new ProducedItem[0];
    }
TimedAction