コード例 #1
0
ファイル: BatAI.cs プロジェクト: gamkedo-la/the-great-hero
    public void Initialize(PotatoPile potatoPile)
    {
        potatoes = potatoPile;

        hitPoints = maxHitPoints;

        stealRoutine = null;

        initialized = true;
    }
コード例 #2
0
ファイル: RoboCar.cs プロジェクト: gamkedo-la/the-great-hero
	public void Initialize(PotatoPile potatoPile, Transform spawnLocationTransform, Vector3 targetPosition)
	{
		potatoes = potatoPile;

		hitPoints = maxHitPoints;

		startPositionTransform = spawnLocationTransform;
		this.targetPosition = targetPosition;

		stealRoutine = null;

		initialized = true;
	}