Turn-in Permission Slips (Movies-Due Today)
OBJECTIVES:
- Graduation Video Planning/Filming - Meet with class, Schedule Filming, Update chart, Upload Video, Edit
- Camera Following
- Insert Crate (10:54)
- Unity Asset Store
- adding collectible objects
- Win Screen
using System.Collections;
ReplyDeleteusing System.Collections.Generic;
using UnityEngine;
public class Rotator : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
transform.Rotate(new Vector3(15, 30, 45) * Time.deltaTime);
}
}
eeee
DeleteThis comment has been removed by the author.
ReplyDeleteusing System.Collections;
ReplyDeleteusing System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter(Collider other) {
if (other.gameObject.CompareTag("PickUp")) {
other.gameObject.SetActive(false);
}
}
}