Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Chest Script or Animation

$
0
0
Hi guys.. im going crazy right now... im trying the animate the open and close of a chest and im getting this stupid error over and over again.... There is a image adn the script... Can plz anyone help me? I already mark as Legacy in chest prefab.

[​IMG]
Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class Chest : MonoBehaviour
  5. {
  6.     public enum State
  7.     {
  8.         open,
  9.         close,
  10.         inbetween
  11.     }
  12.  
  13.     public...
Chest Script or Animation

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>