public void SetXKTriggerPlayerAim(XKTriggerPlayerAim script) { PlayerCamera.SetCameraAimNpcSpeed(script.AimSpeed, script.LeaveSpeed); int max = script.SpawnPoint.Length; for (int i = 0; i < max; i++) { if (script.SpawnPoint[i] != null) { AddAimSpawnPoint(script.SpawnPoint[i]); } } }