Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        if (Inst)
        {
            Debug.LogWarning("Two PlayerMinds in play!");
        }
        Inst = this;

        possessHighlight = Instantiate(possessHighlightPrefab);
        if (!transferParticles)
        {
            transferParticles = GetComponent <ParticleSystem>();
        }
        if (!audioSource)
        {
            audioSource = GetComponent <AudioSource>();
        }

        Possess(realBody);
    }
Esempio n. 2
0
 protected override bool MindIsValid(PlayerMind mind)
 {
     return(!isOff);
 }