Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tommé Nöll
seedling
Commits
741bd0d4
Commit
741bd0d4
authored
Jul 06, 2019
by
Tommé Nöll
Browse files
got rid of some warnings
parent
92c81387
Changes
7
Hide whitespace changes
Inline
Side-by-side
Assets/CameraZone.cs
View file @
741bd0d4
...
...
@@ -12,7 +12,7 @@ public class CameraZone : MonoBehaviour
[
Tooltip
(
"How to scale the zone if the cameras aspect ration doesn't match"
)]
public
FitMode
fitMode
;
private
Bounds
bounds
;
private
static
CameraController
camera
;
private
new
static
CameraController
camera
;
[
SerializeField
]
[
Range
(
0
,
1f
)]
private
float
triggerArea
=
0.9f
;
private
bool
playerWasInZone
=
false
;
...
...
Assets/Scripts/Audio/VariableSoundPlayer.cs
View file @
741bd0d4
...
...
@@ -23,7 +23,7 @@ public class VariableSoundPlayer : MonoBehaviour
{
public
delegate
void
ActivateSoundDelegate
(
bool
activate
);
private
int
iCurrent
=
-
1
;
private
Rigidbody2D
rigidbody
;
private
new
Rigidbody2D
rigidbody
;
public
interface
SoundOwner
{
...
...
Assets/Scripts/CameraController.cs
View file @
741bd0d4
...
...
@@ -6,7 +6,7 @@ using UnityEngine;
public
class
CameraController
:
MonoBehaviour
{
[
HideInInspector
]
public
Player
player
;
private
Camera
camera
;
private
new
Camera
camera
;
[
SerializeField
]
private
Camera
corruptionCamera
;
[
SerializeField
]
private
Vector3
offset
;
...
...
Assets/Scripts/Character.cs
View file @
741bd0d4
...
...
@@ -5,7 +5,7 @@ using UnityEngine.Events;
public
abstract
class
Character
:
MonoBehaviour
,
VariableSoundPlayer
.
SoundOwner
{
public
Rigidbody2D
rigidbody
;
public
new
Rigidbody2D
rigidbody
;
private
bool
airControl
=
true
;
private
bool
isGrounded
;
private
Vector3
velocity
=
Vector3
.
zero
;
...
...
Assets/Scripts/WindZone2D.cs
View file @
741bd0d4
...
...
@@ -12,8 +12,8 @@ public class WindZone2D : MonoBehaviour
public
float
offset
=
0f
;
private
float
currentStrengthFactor
;
private
List
<
Collider2D
>
collidingObjects
;
private
Collider2D
collider
;
private
ParticleSystem
particleSystem
;
private
new
Collider2D
collider
;
private
new
ParticleSystem
particleSystem
;
private
ParticleSystemForceField
particleForceField
;
// Start is called before the first frame update
...
...
Assets/csc.rsp
0 → 100644
View file @
741bd0d4
-nowarn:0649
\ No newline at end of file
Assets/csc.rsp.meta
0 → 100644
View file @
741bd0d4
fileFormatVersion: 2
guid: 0ba5d540fc6be06eda98305cc2fe12ad
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment