This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<pthread.h> | |
#include<stdlib.h> | |
#include<unistd.h> | |
#define MAX_MEALS 50 | |
#define MAX_WAIT_TIME 3000000 | |
#define NUMBER_OF_PHILOSOPHERS 7 | |
#define WORK_TIME 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
namespace Assets.Standard_Assets.Cameras.Scripts | |
{ | |
// Useful for fighting games like Mortal Kombat, Street Fighters, Tekken | |
// This camera looks at the plane created by the line joining the two targets and vertical up | |
public class PlaneCamera : MonoBehaviour | |
{ | |
[SerializeField] | |
private bool autoTarget = false; |