示例#1
0
    private void Start()
    {
        Color = PotionColor.Empty;
        _potionUpdateSprite = GetComponent <PotionUpdateSprite>();

        if (_potionUpdateSprite == null)
        {
            Debug.LogError("Error: No 'PotionUpdateSprite' on '" + name + "'.");
        }
    }
    private void Start()
    {
        MaskType            = _maskType;
        Paint               = YokaiMaskPaint.None;
        _potionUpdateSprite = GetComponent <PotionUpdateSprite>();

        if (_potionUpdateSprite == null)
        {
            Debug.LogError("Error: No 'PotionUpdateSprite' on '" + name + "'.");
        }
    }