Ejemplo n.º 1
0
 void Start()
 {
     actionCardModel = GameObjectHelper.getScriptFromModel <ActionCardModel>(gameObject);
     leftBounds      = bounds.transform.GetChild(0).position;
     rightBounds     = bounds.transform.GetChild(1).position;
     previousApplied = actionCardModel.BuffsToApply.Count;
 }
Ejemplo n.º 2
0
    void Start()
    {
        statCubeBoardModel = GameObjectHelper.getUIController().getPlayerStatCubeBoardModel(true);
        actionModel        = GameObjectHelper.getScriptFromModel <ActionCardModel>(this.gameObject);
        constantsSingleton = GameObjectHelper.getConstantsSingleton();

        speedText     = speedTextObject.GetComponent <TextMesh>();
        speedTextMesh = speedTextObject.GetComponent <MeshRenderer>();

        attackText     = attackTextObject.GetComponent <TextMesh>();
        attackTextMesh = attackTextObject.GetComponent <MeshRenderer>();
    }
 void Start()
 {
     actionCardModel = GameObjectHelper.getScriptFromModel <ActionCardModel>(gameObject.transform.parent.gameObject);
 }