Alright this is the script i have so far and it is no where near complete...
using UnityEngine;
using System.Collections;
public class CharacterUsage : MonoBehaviour {
public GameObject Arssenal01;
public GameObject Arssenal02;
public bool isHands = true;
public int Strength = 10;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(isHands == true){
Hands();
}
else
{
Weapon();
}
}
public void Hands() {
}
public void Weapon() {
}
}
How could i make it where when you push the button 1 on your keypad it takes out hands and from there you could use some sort of raycast... i dont know but something so where i can pick up gameobjects... All help is appreciated...