Commit 583e1219 authored by Bene's avatar Bene

Readded BackgroundMovement (after removing it some days ago accidently)

parent 03a51a23
......@@ -550,6 +550,19 @@ GameObject:
type: 3}
m_PrefabInstance: {fileID: 8760503850431338251}
m_PrefabAsset: {fileID: 0}
--- !u!114 &366228725
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 366228724}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5b694abbe62e8694a8ee4edf19b53b6b, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -10
--- !u!4 &366228727 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8760503850251772925, guid: f63bd9d06361f844b82d3768f029ccd6,
......@@ -1946,6 +1959,19 @@ MonoBehaviour:
m_EditorClassIdentifier:
Background: {fileID: 2020704782}
backgroundoffset: -44.9
--- !u!114 &2020704784
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2020704782}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5b694abbe62e8694a8ee4edf19b53b6b, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -10
--- !u!4 &2020704786 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8760503850251772925, guid: f63bd9d06361f844b82d3768f029ccd6,
......@@ -2266,11 +2292,6 @@ PrefabInstance:
propertyPath: m_sharedMaterial
value:
objectReference: {fileID: 0}
- target: {fileID: 2319135134976169366, guid: c03da7b90f2b3604baa0093cbc1e3aff,
type: 3}
propertyPath: m_CullTransparentMesh
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2319135134976169365, guid: c03da7b90f2b3604baa0093cbc1e3aff,
type: 3}
propertyPath: m_Pivot.x
......@@ -2281,6 +2302,11 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2319135134976169366, guid: c03da7b90f2b3604baa0093cbc1e3aff,
type: 3}
propertyPath: m_CullTransparentMesh
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c03da7b90f2b3604baa0093cbc1e3aff, type: 3}
--- !u!1001 &8760503850431338251
......
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BackgroundMovement : MonoBehaviour
{
[SerializeField]
private float speed = 0;
void FixedUpdate()
{
transform.position += new Vector3(0.0f, Time.deltaTime*-speed, 0.0f);
}
}
fileFormatVersion: 2
guid: 5b694abbe62e8694a8ee4edf19b53b6b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment