From b9996c7b51bf73f7108c362bf5d7b15583c4b4bb Mon Sep 17 00:00:00 2001 From: Glence Date: Sat, 5 Nov 2022 17:44:34 +0800 Subject: [PATCH] made rb a properties --- TempScriptsFolder/PlayerController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TempScriptsFolder/PlayerController.cs b/TempScriptsFolder/PlayerController.cs index bcdf24d1..86ba7c98 100644 --- a/TempScriptsFolder/PlayerController.cs +++ b/TempScriptsFolder/PlayerController.cs @@ -15,7 +15,7 @@ public class PlayerController : Script TOTAL } - public RigidBody rb; + public RigidBody rb { get; set; } private Transform tranform; private Camera cam; private PickAndThrow pat;