示例#1
0
    public void Initialize(PotatoPile potatoPile)
    {
        potatoes = potatoPile;

        hitPoints = maxHitPoints;

        stealRoutine = null;

        initialized = true;
    }
示例#2
0
	public void Initialize(PotatoPile potatoPile, Transform spawnLocationTransform, Vector3 targetPosition)
	{
		potatoes = potatoPile;

		hitPoints = maxHitPoints;

		startPositionTransform = spawnLocationTransform;
		this.targetPosition = targetPosition;

		stealRoutine = null;

		initialized = true;
	}